package org.nepu.sc.unit.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nepu.sc.domain.DataVO;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
@ApiModel(value = "批量参数")
public class SafeUnitBatchParams {
    @NotBlank(message = "任务ID不可为空")
    String taskId;

    @NotBlank(message = "父级评价ID不可为空")
    String parentRateId;

    @NotEmpty(message = "参数列表不可为空")
    List<DataVO> list;
}
